package cn.craftyun.serverlist.service;

import cn.craftyun.serverlist.entity.User;
import cn.craftyun.serverlist.param.UserLoginParam;
import cn.craftyun.serverlist.param.UserUpdatePassParam;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 * 服务类
 * </p>
 *
 * @author FanHuaCloud
 * @since 2021-09-22
 */
public interface IUserService extends IService<User> {
    User getLoginUser();

    User userLogin(UserLoginParam param);

    void userReg(User user);

    void delete(Integer id);

    void updatePass(Integer userId, UserUpdatePassParam param);

    IPage<User> pageUser(IPage<User> page, User filterParam);
}
